package com.last.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

import java.util.List;

@Data
//当前页数据
@NoArgsConstructor
public class PageResult<T> {

    //成功提示
    private Boolean success;
    //提示消息
    private String msg;
    //当前页数据
    private List<T> data;
    //总页数
    private long pages;
    //总记录数
    private long total;
}
